package {
	import flash.display.Bitmap;
	import flash.display.Sprite;

	/**
	 * @author lenovo
	 */
	public class Remolino extends Sprite {
		private var mySpeed:int = 16;
		private var escala:Number = 0.03;
		
		[Embed(source = "../remolinotransparente.png")]
		private var RemolinoImg:Class;
		
		public function Remolino() {
			drawImg();
		}
		private function drawImg():void {
			var img:Bitmap = new RemolinoImg();
			img.x = -img.width*escala/2;
			img.y = -img.height*escala/2;
			img.scaleX = escala;
			img.scaleY = escala;
			addChild(img);
		}
		public function get speed():int {
			return mySpeed;
		}
	}
}
